import React from 'react'
import { BrowserRouter as Router } from 'react-router-dom'
import RenderRoutes from './router/renderRoutes'
import './App.scss'
import { ConfigProvider ,Skeleton} from 'antd';

// 注意全局配置主题和国际化
import zhCN from 'antd/locale/zh_CN';
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
dayjs.locale('zh-cn');

export default function App() {
  return (
    <ConfigProvider locale={zhCN}>
           <Router>
              <RenderRoutes></RenderRoutes>
          </Router>
        
  </ConfigProvider>
  
  )
}
